import React from "react";
import Paragraph from ".";

export default {
  title: "排版/Paragraph",
  component: Paragraph,
};

export const Default = () => {
  return (
    <>
      <Paragraph>这是段落1</Paragraph>
      <Paragraph>这是段落2</Paragraph>
    </>
  );
};

export const Ellipsis = () => {
  return (
    <>
      <Paragraph ellipsis>这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本这是超长文本</Paragraph>
    </>
  );
};
